import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description: 重命名操作
 */
public class Demo7 {
    public static void main(String[] args) {
        File file = new File("./zzz");
        File file2 = new File("./eee");
        file.renameTo(file2);
    }
}
